@isTest
private class TestInventoryController {

    static testMethod void UnitTestItemGroupList() {
    	Test.startTest();
    	List<Item_Group__c> itmGrps = TestItemTrigger.insertTestItemGroups();
   		List<Item__c> itms = TestItemTrigger.insertTestItems(itmGrps);
   		TestItemTrigger.insertTestItemGroupApprovers(itmGrps);
   		List<Certificate_Data__c> certData = TestItemTrigger.insertCertData(itms);
        InventoryController invcont = new InventoryController();
        System.assert(invcont.ItemGroupsList.size()>0); 
        
        invcont.SelectedItemGroup = itmGrps[0].id;
        invcont.getItemsList();
        System.assert(invcont.ItemsList.size()>0);
        
        invcont.SelectedItem = itms[0].Id;
        invcont.getItem();
        System.assert(invcont.CertData != null);
        
        invcont.RemoveItems();
        invcont.NumberOfItemsToOrder='1';
        invcont.OrderItems();
        
        Test.stopTest();
    }
}